const realTimeStatus = {
    namespaced: true,
    state: {
        alertInfo: {
            message: '',
            type: ''
        }
    },
    getters: {
        getAlertInfo: (state) => {
            return state.alertInfo;
        },
    },
    mutations: {
        setAlertInfo: (state, payload) => {
            state.alertInfo = { ...payload };
        },
    },
    actions: {}
};

export default realTimeStatus;